:root{
    --bg:#4A9782;
    --bos:#FFF9E5;
       --mantap:#D6A309;
  --primary:#20883A;
}

*{
    border: none;
    outline: none;
    text-decoration:none;
    box-sizing: border-box ;
}
     nav {
      background-color:var(--primary);
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: fixed;              /* ✅ membuat navbar tetap di atas */
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;               /* ✅ pastikan di atas elemen lain */
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    nav{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index: 9999;
    color:white;
    background-color:var(--primary) ;
}
nav a{
    color:WHITE;
}
.navbar .dropdown-menu li a{
    text-decoration: none;
    color:black;
    transition:all .5s ease;
    font-size:15px;
}
.navbar .dropdown-menu li a:hover{
    color:white;
}
.navbar .dropdown-menu li{
    padding:10px;
}
.navbar .dropdown-menu li:hover{
    background-color:var(--primary);
} 
.navbar-nav{
    gap:20px;
}
.navbar-brand{
    font-size:3rem;
    font-weight:bold;
}
.nav-item{
    font-size:1rem;
}
.navbar-nav .nav-item a{
    font-size:17px;
}
nav {
      background-color:var(--primary);
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: fixed;              /* ✅ membuat navbar tetap di atas */
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;               /* ✅ pastikan di atas elemen lain */
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    /* Tambahkan ruang di atas konten agar tidak tertutup navbar */
    main {
      padding-top: 70px;
    }
      .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
    }

    .logo span {
      font-size: 20px;
      font-weight: bold;
    }

    .nav-links {
      display: flex;
      gap: 20px;
      align-items: center;
    }

    .nav-links a {
      text-decoration: none;
      color: white;
      font-weight: 500;
      transition: color 0.3s;
    }

    .nav-links a:hover {
      color: #38bdf8;
    }

      .hero1 {
            background: url('/gambar/sekolah6.jpg') no-repeat center center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-shadow: 2px 2px 4px #000;
        }
     .hero1 {
      width: 100%;
      height: 60vh;
      color: white;
      text-align: center;
      padding: 20px;
      position: relative;
      background-size: cover;
    }

    .hero1::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
    }

    .hero-content {
      position: relative;
      z-index: 1;
      width: 100%;
      
    }

    .hero1 h1 {
      font-size: 3.5rem;
      margin-bottom: 10px;
      font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
   font-weight:bold;
    }

    .hero1 p {
      font-size: 1.1rem;
      font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
   
    }
    .container{max-width:1100px;margin:0 auto;padding:20px}



/* hero */
.hero{display:grid;grid-template-columns:1fr 420px;gap:28px;align-items:center;padding:28px 0}
.hero-card{background:linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.9));border-radius:18px;padding:28px;box-shadow:0 8px 30px rgba(10,20,30,0.06)}
.hero h1{font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
   font-weight:bold;
  font-size: 3em;
color:var(--mantap);}
.lead{color:var(--muted);margin-bottom:18px}
.hero .features{display:flex;gap:10px;flex-wrap:wrap}
.feature{background:var(--glass);padding:10px 12px;border-radius:12px;font-weight:600}
.hero-illustration{height:100%;display:flex;align-items:center;justify-content:center}
.card-stats{display:flex;gap:12px;margin-top:14px}
.stat{background:white;padding:14px;border-radius:12px;flex:1;text-align:center;box-shadow:0 6px 18px rgba(15,23,36,0.06)}


/* program grid */
.section{padding:36px 0}
.section h2{font-family:'Quicksand',sans-serif;margin:0 0 12px}
.programs{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.program{background:white;padding:18px;border-radius:12px;box-shadow:0 8px 20px rgba(10,20,30,0.04)}
.program h3{margin:0 0 8px}
.program p{color:var(--muted);font-size:14px}


/* schedule */
.schedule{display:flex;flex-direction:column;gap:12px}
.schedule .item{display:flex;justify-content:space-between;background:linear-gradient(90deg,#fff,#fbfffe);padding:12px 14px;border-radius:10px}
.time{font-weight:700;color:var(--primary)}


/* gallery */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.gallery img{width:100%;height:140px;object-fit:cover;border-radius:10px}


/* contact */
.contact{display:grid;grid-template-columns:1fr 360px;gap:20px}
form{display:flex;flex-direction:column;gap:12px}
input,textarea,select{padding:12px;border-radius:10px;border:1px solid #e6eef0;font-size:14px}
button{background:var(--primary);color:white;padding:12px;border-radius:10px;border:0;font-weight:700}


/* footer */
footer{padding:26px 0;color:var(--muted);font-size:14px}


/* responsive */
@media (max-width:980px){
.hero{grid-template-columns:1fr}
.programs{grid-template-columns:repeat(2,1fr)}
.gallery{grid-template-columns:repeat(3,1fr)}
.contact{grid-template-columns:1fr}
}
@media (max-width:600px){
nav ul{display:none}
.hero h1{font-size:26px}
.programs{grid-template-columns:1fr}
.gallery{grid-template-columns:repeat(2,1fr)}
}


/* small utilities */
.muted{color:var(--muted)}
.center{text-align:center}
.badge{background:var(--accent);padding:6px 8px;border-radius:8px;color:#2b2b2b;font-weight:700}

    /* ====== RESPONSIVE ====== */

